package com.xw.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: xw
 * @Create: 2022/1/5 13:46
 * @Description:mvc整合ssm
 */
@Controller
public class TestController {
    @GetMapping("/index")
    String index(){
        System.out.println("进入index");
        return "index";
    }
}
